﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DormMS.Model;
using DormMS.Model.ViewModels;
using DormMS.Model.ViewModels.Activity;

namespace DormMS.IService
{
    public interface IActivityTeamMembersService
    {
        /// <summary>
        /// 获取我参与的一分钱活动
        /// </summary>
        /// <param name="skip"></param>
        /// <param name="take"></param>
        /// <param name="memberid"></param>
        /// <param name="total"></param>
        /// <returns></returns>
        IEnumerable<V_ActivityTeamMembers> GetActivityTeamMembersList(int skip, int take, int memberid, ref int total);


        /// <summary>
        /// 获取团员信息
        /// </summary>
        /// <param name="id"></param>
        /// <param name="total"></param>
        /// <returns></returns>
        V_ActivityTeamMembers GetActivityTeamMembersInfo(int id, ref int total);

        /// <summary>
        /// 修改团成员表
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        bool EditActivityTeamMembers(Model.ActivityTeamMembers model);


        /// <summary>
        /// 根据订单号获取团信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Model.ActivityTeamMembers GetActivityTeamMembersInfo(string orderno);

        List<ActMemberVM> GetMembersByTeamId(int Id);

        ActivityTeamMembers FindActivityTeamMembersInfo(string where);
    }
}
